package com.jxmcloud.business.cut.service.user;

import com.jxmcloud.business.cut.dto.admin.AdminUserMergerDto;
import com.jxmcloud.business.cut.dto.client.LoginNameDto;
import com.jxmcloud.business.cut.vo.user.PlayerInfoVo;
import com.jxmcloud.business.cut.vo.user.UserBaseVo;

/**
 * 用户基本信息
 */
public interface IUserBaseService extends IUserService {


    boolean createByAccount(PlayerInfoVo player, String account);               // 根据账号创建

    void updateFromXlData(PlayerInfoVo player, LoginNameDto data);              // 更新数据

    void makeSession(PlayerInfoVo player);                                      // 构建session

    UserBaseVo getUserBase(PlayerInfoVo player);                                      // 查询用户基本信息


    void updateUserStatusData(PlayerInfoVo player, AdminUserMergerDto data);              // 更新用户账号状态数据

    /**
     * 检测入参是否正确
     * @param bannedTime
     */
    void checkParam( String bannedTime);

}
